/** 
 * Project Name:ZhiWeiCateringManagementSystem 
 * File Name:PayOrderRecordItemServers.java 
 * Package Name:cn.ccit.servers 
 * Date:2016年11月5日下午8:34:43 
 * Copyright (c) 2016, 120026139@qq.com All Rights Reserved. 
 * 
*/  
  
package cn.ccit.servers;  

import java.util.ArrayList;
import java.util.List;

import cn.ccit.DAO.PayOrderRecordItemDAO;
import cn.ccit.DAOImp.PayOrderRecordItemDAOimp;
import cn.ccit.entites.record.PayOrderRecordItem;
import cn.ccit.iservers.IPayOrderRecordItemServers;

/** 
 * ClassName:PayOrderRecordItemServers <br/> 
 * Function: TODO ADD FUNCTION. <br/> 
 * Reason:   TODO ADD REASON. <br/> 
 * Date:     2016年11月5日 下午8:34:43 <br/> 
 * @author   Administrator 
 * @version   
 * @since    JDK 1.6 
 * @see       
 */
public class PayOrderRecordItemServers implements IPayOrderRecordItemServers {
	private PayOrderRecordItemDAO orderItemDao=null;
	
	public PayOrderRecordItemServers() {
		orderItemDao=new PayOrderRecordItemDAOimp();
	}
	@Override
	public boolean addPayOrderRecordItem(PayOrderRecordItem cdRecord) {
		return orderItemDao.addPayOrderRecordItem(cdRecord);
	}

	@Override
	public boolean removePayOrderRecordItem(PayOrderRecordItem cdRecord) {
		return orderItemDao.removePayOrderRecordItem(cdRecord);
	}

	@Override
	public boolean changePayOrderRecordItemInfo(PayOrderRecordItem cdRecord) {
		return orderItemDao.changePayOrderRecordItemInfo(cdRecord);
	}

	@Override
	public List<PayOrderRecordItem> getSomePayOrderRecordItems(int start,
			int limit) {
		return orderItemDao.getSomePayOrderRecordItems(start, limit);
	}

	@Override
	public PayOrderRecordItem searchPayOrderRecordItemByID(int id) {
		return orderItemDao.searchPayOrderRecordItemByID(id);
	}

	@Override
	public List<PayOrderRecordItem> searchPayOrderRecordItemByYear(String year) {
		return orderItemDao.searchPayOrderRecordItemByYear(year);
	}

	@Override
	public List<PayOrderRecordItem> searchPayOrderRecordItemByMonth(
			String month) {
		return orderItemDao.searchPayOrderRecordItemByMonth(month);
	}

	@Override
	public List<PayOrderRecordItem> searchPayOrderRecordItemByDate(String date) {
		return orderItemDao.searchPayOrderRecordItemByDate(date);
	}

	@Override
	public List<PayOrderRecordItem> searchPayOrderRecordItemBySerialsNumber(
			Long SerialsNumber) {
		return orderItemDao.searchPayOrderRecordItemBySerialsNumber(SerialsNumber);
	}
	@Override
	public boolean batchAddPayOrderRecordItem(List<PayOrderRecordItem> list) {
		return orderItemDao.batchAddPayOrderRecordItem(list);
	}

}
